DPU Management Traffic Forwarding script #9
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Why I did it
This script is added in order to enable or disable the management traffic generated from DPUs to be forwarded through the smartswitch. When we enable the traffic the following actions are taken:
bridge-midplane
interface) to the management port on the switch -eth0
eth0
to the DPU (connected to thebridge-midplane
interface) for established or related connectionsThe opposite actions are taken when we disable the traffic
Work item tracking
How I did it
Wrote script
dpu-mgmt-traffic.sh
which will be present in the switch image, this script can be used to enable/disable the DPU management traffic forwardingHow to verify it
The following commands can be executed on the smart switch:
dpu-mgmt-traffic.sh --enable
dpu-mgmt-traffic.sh --disable
dpu-mgmt-traffic.sh -d
dpu-mgmt-traffic.sh -e
Which release branch to backport (provide reason below if selected)
Tested branch (Please provide the tested image version)
Description for the changelog
Link to config_db schema for YANG module changes
A picture of a cute animal (not mandatory but encouraged)